package com.lanou.service;

import com.lanou.bean.LayuiJson;
import com.lanou.bean.Permission;
import com.lanou.bean.Role;

import java.util.List;
import java.util.Map;

public interface RoleService {
    LayuiJson<Role> findAllRole(Integer pageSize, Integer currentPage);

    void delteRoleById(Integer id);

    Map<Permission, Map<Permission, List<Permission>>> sortPermission();
}
